.text
.global _start

_start:
	ldr sp,=0x40000000 + 4096
	bl disable_watch_dog
	bl memsetup

	ldr r0,=4096
	ldr r1,=0x30000000
	ldr r2,=2048
	bl copy2sdram

	ldr sp,=0x34000000
	ldr lr,=halt_loop
	ldr pc,=main

halt_loop:
	b halt_loop

